// 导入 svg 图标


// 自定义样式
import './styles/index.scss'


// 创建全局App
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)


// vue-router
// 安装命令：npm install vue-router@4
import { router } from './router'
app.use(router)


// element-plus
// 安装命令：npm install element-plus --save  && npm install @element-plus/icons-vue
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
app.use(ElementPlus)

// element-plus-icon
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
//     app.component(key, component)
// }


app.mount('#app')

